home *** CD-ROM | disk | FTP | other *** search
/ Chip 1996 November / CHIP Kasım 1996.iso / ms / visualj / vjtrialb.exe / RCDATA / CABINET / MFCAPWZ.DLL / TEMPLATE / FRAME.H < prev    next >
C/C++ Source or Header  |  1996-07-31  |  2KB  |  74 lines

  1. // $$frame_hfile$$.h : interface of the $$FRAME_CLASS$$ class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. $$IF(PROJTYPE_MDI)
  6. class $$FRAME_CLASS$$ : public $$FRAME_BASE_CLASS$$
  7. {
  8.     DECLARE_DYNAMIC($$FRAME_CLASS$$)
  9. public:
  10.     $$FRAME_CLASS$$();
  11. $$ELSE
  12. class $$FRAME_CLASS$$ : public $$FRAME_BASE_CLASS$$
  13. {
  14. protected: // create from serialization only
  15.     $$FRAME_CLASS$$();
  16.     DECLARE_DYNCREATE($$FRAME_CLASS$$)
  17. $$ENDIF
  18.  
  19. // Attributes
  20. $$IF(SPLITTER_SDI)
  21. protected:
  22.     CSplitterWnd m_wndSplitter;
  23. $$ENDIF //SPLITTER_SDI
  24. public:
  25.  
  26. // Operations
  27. public:
  28.  
  29. // Overrides
  30.     // ClassWizard generated virtual function overrides
  31.     //{{AFX_VIRTUAL($$FRAME_CLASS$$)
  32. $$IF(SPLITTER_SDI || FRAME_STYLES)
  33.     public:
  34. $$ENDIF
  35. $$IF(SPLITTER_SDI)
  36.     virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
  37. $$ENDIF
  38.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  39.     //}}AFX_VIRTUAL
  40.  
  41. // Implementation
  42. public:
  43.     virtual ~$$FRAME_CLASS$$();
  44. #ifdef _DEBUG
  45.     virtual void AssertValid() const;
  46.     virtual void Dump(CDumpContext& dc) const;
  47. #endif
  48. $$IF(TOOLBAR || STATUSBAR)
  49.  
  50. protected:  // control bar embedded members
  51. $$IF(STATUSBAR)    
  52.     CStatusBar  m_wndStatusBar;
  53. $$ENDIF //STATUSBAR
  54. $$IF(TOOLBAR)
  55.     CToolBar    m_wndToolBar;
  56. $$ENDIF //TOOLBAR
  57. $$ENDIF //TOOLBAR || STATUSBAR
  58.  
  59. // Generated message map functions
  60. protected:
  61.     //{{AFX_MSG($$FRAME_CLASS$$)
  62. $$IF(TOOLBAR || STATUSBAR)
  63.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  64. $$ENDIF //TOOLBAR || STATUSBAR
  65. $$IF(VERBOSE)
  66.         // NOTE - the ClassWizard will add and remove member functions here.
  67.         //    DO NOT EDIT what you see in these blocks of generated code!
  68. $$ENDIF
  69.     //}}AFX_MSG
  70.     DECLARE_MESSAGE_MAP()
  71. };
  72.  
  73. /////////////////////////////////////////////////////////////////////////////
  74.